package Service.StatisticalReport;

import Model.StatisticalReport.*;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface ReportService {

    List<? extends Report> parseFromJson(ReportClass reportClass, String data);

    int addBatch(List<? extends Report> batch);

    int count(ReportQuery query);

    boolean checkDaaDuplicate(IndividualClass idvClass, Date daa);

    boolean checkSnDuplicate(IndividualClass idvClass, String sn);

    List<Map<String, Object>> selectDistribution(int year);

//    int update
}
